
//
//  UILabel+Extesion.swift
//  微博01
//
//  Created by 牛威 on 15/12/7.
//  Copyright © 2015年 牛威. All rights reserved.
//

import UIKit


extension UILabel {

         //默认颜色和字体
    
        convenience init(title: String, fontSize: CGFloat = 14, color:
            
            UIColor = UIColor.darkGrayColor()) {
            
            self.init()
            
            text = title
                
            textColor = color
                
            font = UIFont.systemFontOfSize(fontSize)
            
            numberOfLines = 0
                
            textAlignment = NSTextAlignment.Center
        }

    
    
    }



